#!/usr/bin/evn python
# -*- coding: utf-8 -*-
from infirmary_admin_src.infirmary_smart_admin.infirmary_settings.base import ISettings


class ProSettings(ISettings):
    ''' 应用基础的配置项信息'''
    environment: str = 'production'
    debug: bool = False

    # ===========SqlalchemyPluginForClassV2Client插件参数配置==============
    MYSQL_SERVER_HOST: str = "xxxxxxxxxxxxxx"
    MYSQL_USER_NAME: str = "root"
    MYSQL_PASSWORD: str = "xxxxxxxxxxxxx"
    MYSQL_DB_NAME: str = "snowypy2"
    # 数据库连接池
    SQLALCHEMY_DATABASE_ECHO: bool = False
    SQLALCHEMY_POOL_RECYCLE: int = 7200
    SQLALCHEMY_POOL_PRE_PING: bool = True
    SQLALCHEMY_POOL_SIZE: int = 20
    SQLALCHEMY_MAX_OVERFLOW: int = 64
